// Java Operators
public class Sample07 {
  public static void main(String[] args) {
    int x = 5;
    x += 3;
    System.out.println("x += 3 " + x);

    x = 5;
    x -= 3;
    System.out.println("x -= 3 " + x);

    x = 5;
    x *= 3;
    System.out.println("x *= 3 " + x);

    x = 5;
    x /= 3;
    System.out.println("x /= 3 " + x);

    x = 5;
    x %= 3;
    System.out.println("x %= 3 " + x);

    x = 5;
    x &= 3;
    System.out.println("x &= 3 " + x);

    x = 5;
    x |= 3;
    System.out.println("x |= 3 " + x);

    x = 5;
    x ^= 3;
    System.out.println("x ^= 3 " + x);

    x = 5;
    x >>= 3;
    System.out.println("x >>= 3 " + x);

    x = 5;
    x <<= 3;
    System.out.println("x <<= 3 " + x);
  }
}